<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
	<%@include file="/include/header.html" %>
	<script type="text/javascript" src="${ctx}/appjs/operator/tenantOperator.js"></script>
</head>

<script type="text/javascript">
	$('#topLink', window.parent.document).html(function (i, origText) {
		return '<br><h3>新增分销商</h3>' +
				'<ol class="breadcrumb">' +
				'<li class="breadcrumb-item">' +
				'<a href="">主页</a>' +
				'</li>' +
				'<li class="breadcrumb-item">' +
				'<a>运营商</a>' +
				'</li>' +
				'<li class="breadcrumb-item">' +
				'<strong>新增分销商</strong>' +
				'</li>' +
				'<li class="breadcrumb-item">' +
				'<a href="javascript:window.history.back()"><i class="fa fa-times"></i> 返回</a>' +
				'</li>' +
				'</ol>';
	});
</script>

<body class="gray-bg">
<div class="wrapper wrapper-content ">
	<div class="row">
		<div class="col-sm-12">
			<div class="ibox float-e-margins">
				<div class="ibox-title">
					<div class="columns pull-left">
						<h5 class="font-bold">新增分销商</h5>
					</div>
					<div class="ibox-tools">
						<a class="close-link">
							<i class="fa fa-times"></i>
						</a>
					</div>
				</div>

				<div class="ibox-content">
					<form class="form-horizontal m-t" id="frmOperator">
						<div class="form-group row">
							<label class="col-sm-3 col-form-label text-right">分销商组织机构代码（9位）：</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" name="tenantOperatorCode" id="tenantOperatorCode">
								<li><i class="fa fa-bell-o"></i> 分销商ID使用组织机构代码（非统一社会信用代码，非纳税人识别号，请从组织机构代码去掉其中的特殊符号"-"取值）,创建后无法修改</li>
							</div>
						</div>
						<div class="form-group row">
							<label class="col-sm-3 col-form-label text-right">分销商名称：</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" name="operatorName" id="operatorName">
							</div>
						</div>
						<div class="form-group row">
							<label class="col-sm-3 col-form-label text-right">登录帐号：</label>
							<div class="col-sm-8">
								<input id="loginName" name="loginName" class="form-control" type="text">
								<li><i class="fa fa-bell-o"></i> 登录帐号一旦创建,无法修改</li>
							</div>
						</div>
						<div class="form-group row">
							<label class="col-sm-3 col-form-label text-right">密码：</label>
							<div class="col-sm-8">
								<input id="password" name="password" class="form-control" type="password">
							</div>
						</div>
						<div class="form-group row">
							<label class="col-sm-3 col-form-label text-right">联系人名字：</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" name="contactName" id="contactName">
							</div>
						</div>
						<div class="form-group row">
							<label class="col-sm-3 col-form-label text-right">手机：</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" name="phone" id="phone" data-mask="99999999999">
								<li><i class="fa fa-bell-o"></i> 请填写正确的手机号码,您的手机号可以直接用于登录、找回密码等</li>
							</div>
						</div>
						<div class="form-group row">
							<label class="col-sm-3 col-form-label text-right">公司地址：</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" name="address" id="address">
							</div>
						</div>
						<div class="form-group row">
							<label class="col-sm-3 col-form-label text-right">营业执照编号：</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" name="license" id="license">
							</div>
						</div>
						<div class="form-group row">
							<label class="col-sm-3 col-form-label text-right">公司法人：</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" name="owner" id="owner">
							</div>
						</div>
						<div class="form-group row">
							<label class="col-sm-3 col-form-label text-right">法人身份证：</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" name="ownerId" id="ownerId">
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-3 col-sm-offset-8 text-right">
								<button type="submit" class="btn btn-success">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
	addTenantOperator.init();
</script>
</body>
</html>
